WatchKit App Development Essentials: Learn to Develop Apps for the Apple Watch by Neil Smyth

WatchKit App Development Essentials: Learn to Develop Apps for the Apple Watch by Neil Smyth

Author:Neil Smyth [Smyth, Neil]
Language: eng
Format: epub
Publisher: eBookFrenzy
Published: 2015-05-18T21:00:00+00:00


@IBOutlet weak var watchLabel: WKInterfaceLabel!

@IBOutlet weak var watchSwitch: WKInterfaceSwitch!

var sharedDefaults: NSUserDefaults?

override func awakeWithContext(context: AnyObject?) {

super.awakeWithContext(context)

let fileManager = NSFileManager.defaultManager()

let sharedContainer = fileManager

.containerURLForSecurityApplicationGroupIdentifier(

"<YOUR APP GROUP IDENTIFIER HERE>")

let dirPath = sharedContainer?.path

let sharedFilePath =

dirPath?.stringByAppendingPathComponent("sharedtext.doc")



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.